package excercise;

public class Q40_Novel {

	

}
class NovelVo{
	private String mno;
	private String title;
	private String writer;
	// 생성자
	public NovelVo() {
		this.mno = ""; this.title = ""; this.writer = "";
	}
	public NovelVo(String mno , String title, String writer) {
		this.mno = mno; this.title = title; this.writer = writer;
	}
	// setter/getter 메서드
	public void setMno(String mno){this.mno = mno;}
	public void settitle(String title){this.title = title;}
	public void setWriter(String writer){this.writer = writer;}
	public String getMno(String mno){return mno;}
	public String gettitle(String title){return title;}
	public String getwriter(String writer){return writer;}
	public static int getLastFees( int days){
		return days * 300;
	}
}

